//
//  LcAlertView.h
//  iphone_lczn
//
//  Created by sunshine on 12-3-5.
//  Copyright (c) 2016年 sun. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, StMsgState) {
    StMsgStateNone = 0,
    StMsgStateWrong = 1,
    StMsgStateRight = 2
};
@interface WyAlertView : UIView{
    BOOL isMiss;//过2秒钟消失
    NSTimer * timer;
    UILabel * lable;
    CGRect _orgainRect;
    UIImageView *image;
}
@property (nonatomic,assign,setter = setIsMiss:) BOOL isMiss;
-(void)Dismiss:(NSTimer *)timer;
-(void)setIsMiss:(BOOL)_isMiss;
-(void)show:(NSString*)msg state:(StMsgState)state;
-(void)show:(NSString*)msg;
@end
